package com.shuimuzhen.SecondhandMotorManagementSystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuimuzhen.SecondhandMotorManagementSystem.pojo.entity.Motorcycle;
import com.shuimuzhen.SecondhandMotorManagementSystem.pojo.entity.SecondHandMotorcycle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SecondHandMotorMapper extends BaseMapper<SecondHandMotorcycle> {
    @Select("select * " +
            "from motorcycles "+
            "where id =#{motorcycleId}"
    )
    public Motorcycle selectPrototype(SecondHandMotorcycle secondHandMotorcycle);
}
